package com.ruoyi.classroom.score.domain;


import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 成绩管理对象 score
 * 
 * @author lgm
 * @date 2024-07-19
 */
public class Score extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 学分编号 */
    private Long id;

    /** 平时成绩 */
    @Excel(name = "平时成绩")
    private Long regularscore;

    /** 期末成绩 */
    @Excel(name = "期末成绩")
    private Long finalscore;

    /** 总成绩 */
    @Excel(name = "总成绩")
    private Long totalscore;

    /** 课程编号 */
    @Excel(name = "课程编号")
    private Long couseId;

    /** 学生编号 */
    @Excel(name = "学生编号")
    private Long userId;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setRegularscore(Long regularscore) 
    {
        this.regularscore = regularscore;
    }

    public Long getRegularscore() 
    {
        return regularscore;
    }
    public void setFinalscore(Long finalscore) 
    {
        this.finalscore = finalscore;
    }

    public Long getFinalscore() 
    {
        return finalscore;
    }
    public void setTotalscore(Long totalscore) 
    {
        this.totalscore = totalscore;
    }

    public Long getTotalscore() 
    {
        return totalscore;
    }
    public void setCouseId(Long couseId) 
    {
        this.couseId = couseId;
    }

    public Long getCouseId() 
    {
        return couseId;
    }
    public void setUserId(Long userId) 
    {
        this.userId = userId;
    }

    public Long getUserId() 
    {
        return userId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("regularscore", getRegularscore())
            .append("finalscore", getFinalscore())
            .append("totalscore", getTotalscore())
            .append("couseId", getCouseId())
            .append("userId", getUserId())
            .toString();
    }
}
